FROM odoo:16.0
USER root
RUN sed -i s@http://deb.debian.org@https://mirrors.ustc.edu.cn@g /etc/apt/sources.list  \
    && python3 -m pip config set global.index-url 'https://pypi.tuna.tsinghua.edu.cn/simple' \
    && python3 -m pip config set install.trusted-host 'https://pypi.tuna.tsinghua.edu.cn' \
    && apt -y update && apt -y install python3-pygraphviz && python3 -m pip install aiohttp pycryptodome \
    plantumlcli aliyun-python-sdk-ecs openai
